package com.ruoyi.sms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 渠道管理对象 t_channel
 * 
 * @author wukong
 * @date 2021-03-30
 */
public class Channel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 渠道名 */
    @Excel(name = "渠道名")
    private String name;

    /** 同步地址 */
    @Excel(name = "同步地址")
    private String syncUrl;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactName;

    /** qq */
    @Excel(name = "qq")
    private String contactQq;

    /** 电话 */
    @Excel(name = "电话")
    private String contactPhone;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSyncUrl(String syncUrl) 
    {
        this.syncUrl = syncUrl;
    }

    public String getSyncUrl() 
    {
        return syncUrl;
    }
    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }
    public void setContactQq(String contactQq) 
    {
        this.contactQq = contactQq;
    }

    public String getContactQq() 
    {
        return contactQq;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("syncUrl", getSyncUrl())
            .append("contactName", getContactName())
            .append("contactQq", getContactQq())
            .append("contactPhone", getContactPhone())
            .append("createTime", getCreateTime())
            .toString();
    }
}
